package decorator;

public class SausageDecorator extends BatterCakeDecorator{
    public SausageDecorator(BatterCake batterCake) {
        super(batterCake);
    }
    @Override
    protected String getMessage() {
        return super.getMessage()+"一根香肠";
    }

    @Override
    protected int getPrice() {
        return super.getPrice()+2;
    }
}
